package com.market.goods.dao.po;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "user_info")
public class UserInfoPO implements Serializable {
    /**
     * ���
     */
    private Long id;

    /**
     * 用户名称
     */
    @Column(name = "login_name")
    private String loginName;

    /**
     * 用户昵称
     */
    @Column(name = "nick_name")
    private String nickName;

    /**
     * 用户密码
     */
    private String passwd;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * �ֻ号
     */
    @Column(name = "phone_num")
    private String phoneNum;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 头像
     */
    @Column(name = "head_img")
    private String headImg;

    /**
     * 用户级别
     */
    @Column(name = "user_level")
    private String userLevel;

    /**
     * 用户生日
     */
    private Date birthday;

    /**
     * 性别 M男,F女
     */
    private String gender;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "operate_time")
    private Date operateTime;

    private static final long serialVersionUID = 1L;

    /**
     * ��ȡ���
     *
     * @return id - ���
     */
    public Long getId() {
        return id;
    }

    /**
     * ���ñ��
     *
     * @param id ���
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * ��ȡ�û�����
     *
     * @return login_name - �û�����
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * �����û�����
     *
     * @param loginName �û�����
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    /**
     * ��ȡ�û��ǳ�
     *
     * @return nick_name - �û��ǳ�
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * �����û��ǳ�
     *
     * @param nickName �û��ǳ�
     */
    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    /**
     * ��ȡ�û�����
     *
     * @return passwd - �û�����
     */
    public String getPasswd() {
        return passwd;
    }

    /**
     * �����û�����
     *
     * @param passwd �û�����
     */
    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    /**
     * ��ȡ�û�����
     *
     * @return name - �û�����
     */
    public String getName() {
        return name;
    }

    /**
     * �����û�����
     *
     * @param name �û�����
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * ��ȡ�ֻ���
     *
     * @return phone_num - �ֻ���
     */
    public String getPhoneNum() {
        return phoneNum;
    }

    /**
     * �����ֻ���
     *
     * @param phoneNum �ֻ���
     */
    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum == null ? null : phoneNum.trim();
    }

    /**
     * ��ȡ����
     *
     * @return email - ����
     */
    public String getEmail() {
        return email;
    }

    /**
     * ��������
     *
     * @param email ����
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * ��ȡͷ��
     *
     * @return head_img - ͷ��
     */
    public String getHeadImg() {
        return headImg;
    }

    /**
     * ����ͷ��
     *
     * @param headImg ͷ��
     */
    public void setHeadImg(String headImg) {
        this.headImg = headImg == null ? null : headImg.trim();
    }

    /**
     * ��ȡ�û�����
     *
     * @return user_level - �û�����
     */
    public String getUserLevel() {
        return userLevel;
    }

    /**
     * �����û�����
     *
     * @param userLevel �û�����
     */
    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel == null ? null : userLevel.trim();
    }

    /**
     * ��ȡ�û�����
     *
     * @return birthday - �û�����
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * �����û�����
     *
     * @param birthday �û�����
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * ��ȡ�Ա� M��,FŮ
     *
     * @return gender - �Ա� M��,FŮ
     */
    public String getGender() {
        return gender;
    }

    /**
     * �����Ա� M��,FŮ
     *
     * @param gender �Ա� M��,FŮ
     */
    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    /**
     * ��ȡ����ʱ��
     *
     * @return create_time - ����ʱ��
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * ���ô���ʱ��
     *
     * @param createTime ����ʱ��
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * ��ȡ�޸�ʱ��
     *
     * @return operate_time - �޸�ʱ��
     */
    public Date getOperateTime() {
        return operateTime;
    }

    /**
     * �����޸�ʱ��
     *
     * @param operateTime �޸�ʱ��
     */
    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    @Override
    public String toString() {
        return "UserInfoPO{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", passwd='" + passwd + '\'' +
                ", name='" + name + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", email='" + email + '\'' +
                ", headImg='" + headImg + '\'' +
                ", userLevel='" + userLevel + '\'' +
                ", birthday=" + birthday +
                ", gender='" + gender + '\'' +
                ", createTime=" + createTime +
                ", operateTime=" + operateTime +
                '}';
    }
}